# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
pkgname=sfwbar
pkgver=1.0_beta6
pkgrel=0
pkgdesc="Sway Floating Window Bar"
url="https://github.com/LBCrion/sfwbar"
arch="all"
license="GPL-3.0-only AND MIT"
makedepends="
	gtk+3.0-dev
	gtk-layer-shell-dev
	json-c-dev
	meson
	"
subpackages="$pkgname-doc"
source="https://github.com/LBCrion/sfwbar/archive/v$pkgver/sfwbar-$pkgver.tar.gz"
options="!check"  # no tests provided

build() {
	abuild-meson . output
	meson compile -j ${JOBS:-0} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
fedebc219284ef4cc1188fc6f7c0c11560541ab33d10c22da52213bbba2f3acf9c6d7305d8a08a283b42c7f1928e9bd7b24fba966606745b6d292f7202128324  sfwbar-1.0_beta6.tar.gz
"
